package cn.afterturn.gen.core.model;

import java.io.Serializable;

/**
 * 数据库表字段属性
 *
 * @author JueYue
 * @date 2014年12月21日
 */
public class GenFieldEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 是否为主键
     */
    private Integer isKey;
    /**
     * 主键是否自增
     */
    private Boolean isKeyIdentityFlag;
    /**
     * 数据库字段类型
     */
    private String tableFieldType;
    /**
     * 数据库字段名称
     */
    private String tableFieldName;
    /**
     * 数据库字段注释
     */
    private String tableFieldComment;
    /**
     * 实体字段类型
     */
    private String propertyType;
    /**
     * 实体字段名称
     */
    private String propertyName;
    /**
     * 字段前缀大写
     */
    private String fieldPreFixName;
    /**
     * 字段注释
     */
    private String propertyContent;

    public Integer getIsKey() {
        return isKey;
    }

    public void setIsKey(Integer isKey) {
        this.isKey = isKey;
    }

    public Boolean getIsKeyIdentityFlag() {
        return isKeyIdentityFlag;
    }

    public void setIsKeyIdentityFlag(Boolean isKeyIdentityFlag) {
        this.isKeyIdentityFlag = isKeyIdentityFlag;
    }

    public String getTableFieldName() {
        return tableFieldName;
    }

    public void setTableFieldName(String tableFieldName) {
        this.tableFieldName = tableFieldName;
    }

    public String getPropertyName() {
        return propertyName;
    }

    public void setPropertyName(String propertyName) {
        this.propertyName = propertyName;
    }

    public String getTableFieldComment() {
        return tableFieldComment;
    }

    public void setTableFieldComment(String tableFieldComment) {
        this.tableFieldComment = tableFieldComment;
    }

    public String getTableFieldType() {
        return tableFieldType;
    }

    public void setTableFieldType(String tableFieldType) {
        this.tableFieldType = tableFieldType;
    }

    public String getPropertyType() {
        return propertyType;
    }

    public void setPropertyType(String propertyType) {
        this.propertyType = propertyType;
    }

    public String getFieldPreFixName() {
        return fieldPreFixName;
    }

    public void setFieldPreFixName(String fieldPreFixName) {
        this.fieldPreFixName = fieldPreFixName;
    }

    public String getPropertyContent() {
        return propertyContent;
    }

    public void setPropertyContent(String propertyContent) {
        this.propertyContent = propertyContent;
    }

}
